{include file="header.html"}
<div> 
{include file='kucun/nav.html'}
<form method='post' action='{$appadmin}?m=kucun&a=save'>
<input type='hidden' name='kcid' style='display:none;' value='{$data.kcid}' >
 <table class='table table-bordered' width='100%'>
 
  <tr><td width="100">名称：</td><td><input type='text' name='title' id='title' value='{$data.title}' ></td></tr>
   <tr><td>状态：</td>
  <td>
  
  <input type='radio' name='status' id='status' value='2' {if $data.status eq 2} checked{/if} > 开启
  <input type='radio' name='status' id='status' value='4' {if $data.status neq 2} checked{/if} > 关闭
  </td></tr>
  <tr><td>类型：</td><td>
  {get data=typelist model=kucun fun=typelist()}
  <select name="typeid">
  	{foreach item=c key=k from=$typelist}
    <option value="{$k}" {if $k eq $data.typeid} selected{/if}>{$c}</option>
    {/foreach}
  </select></td></tr>
   
<tr><td></td><td><input type='submit' value='保存' class='btn btn-success'></td></tr> </table>
</form>
</div> 
{include file="footer.html"}